package com.jims.master.modules.blood.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.blood.dao.UseBloodInfoVoDao;
import com.jims.master.modules.blood.vo.UseBloodInfoVo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 患者用血情况查询service
 * Created by fengyg on 2017/4/17.
 */
@Service
@Transactional(readOnly = false)
public class UseBloodInfoVoService extends CrudService<UseBloodInfoVoDao,UseBloodInfoVo>{

    @Override
    public Page<UseBloodInfoVo> findPage(Page<UseBloodInfoVo> page, UseBloodInfoVo useBloodInfoVo) {
        useBloodInfoVo.updateOrgId();
        return super.findPage(page, useBloodInfoVo);
    }

}
